class clusters::cchome{
  class { '::nfs':
    server_enabled => true
  }
  nfs::server::export{ '/home/cc':
    ensure  => 'mounted',
    clients => '192.168.50.126/32(rw,sync,no_root_squash) 192.168.51.143/32(rw,sync,no_root_squash) 192.168.51.0/24(rw,sync,no_root_squash) 192.168.32.22/32(rw,sync,no_root_squash) 192.168.83.11/32(rw,sync,no_root_squash) 192.168.50.35/32(rw,sync,no_root_squash) 192.168.50.116/32(rw,sync,no_root_squash) 192.168.41.0/24(rw,async,root_squash) 202.122.35.0/24(rw,async,no_root_squash) 202.122.33.0/24(rw,async,no_root_squash) 202.122.32.0/24(rw,sync,no_root_squash) 192.168.57.0/24(rw,sync,no_root_squash) 192.168.52.0/17(rw,sync,no_root_squash)'
  }
  nfs::server::export{ '/home/lhc':
    ensure  => 'mounted',
    clients => '192.168.50.126/32(rw,sync,no_root_squash) 192.168.51.0/24(rw,sync,no_root_squash) 192.168.32.22/32(rw,sync,no_root_squash) 192.168.83.11/32(rw,sync,no_root_squash) 192.168.50.35/32(rw,sync,no_root_squash) 192.168.50.116/32(rw,sync,no_root_squash) 192.168.41.0/24(rw,async,root_squash) 202.122.35.0/24(rw,async,root_squash) 202.122.33.0/24(rw,async,root_squash) 202.122.32.0/24(rw,sync,root_squash) 192.168.52.0/17(rw,sync,root_squash)'
  }
  nfs::server::export{ '/home/bsrf':
    ensure  => 'mounted',
    clients => '192.168.50.126/32(rw,sync,no_root_squash) 192.168.51.143/32(rw,sync,no_root_squash) 192.168.51.0/24(rw,sync,no_root_squash) 192.168.32.22/32(rw,sync,no_root_squash) 192.168.83.11/32(rw,sync,no_root_squash) 192.168.50.35/32(rw,sync,no_root_squash) 192.168.50.116/32(rw,sync,no_root_squash) 192.168.41.0/24(rw,async,root_squash) 202.122.35.0/24(rw,async,root_squash) 202.122.33.0/24(rw,async,root_squash) 202.122.32.0/24(rw,sync,root_squash) 192.168.52.0/17(rw,sync,root_squash)'
  }
}
